﻿@model IEnumerable<DateTime>

<div class="blog-side-bar orange-box">
    <h2><i class=" icon-tasks"></i>Archive</h2>
    <ul>
        @foreach (var item in Model)
        {
            <li>
                <a href="@Url.RouteUrl("blog_archive", new { month = item.Month, year = item.Year })">
                    <span class="large">@item.ToString("MMM")</span>
                    <span>@item.Year</span>
                </a>
            </li>        
        }   
    </ul>
</div>